<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 拼接字符串
        let num = 10;
        // 用户购买货物花费￥10
        console.log('用户购买货物花费￥'+num);
        console.log(50+num);    
    </script>
</body>
</html>